GetAppFiles
You can use theGetAppFiles
procedure to retrieve information about each file selected at application startup for opening or printing.
PROCEDURE GetAppFiles (index: Integer; VAR theFile: AppFile);
index
- The index of the file whose information is returned.
- theFile
- A structure containing the returned information.
DESCRIPTION
TheGetAppFiles
procedure returns information about a file that was selected when your application was started up (as listed in the Finder information). Theindex
parameter indicates the file for which information should be returned; it must be between 1 and the number returned byCountAppFiles
, inclusive.